<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>

<c:set var="ctx" value="${pageContext.request.contextPath}" />
<div class="container">
	<form id="aboutus-form">
		<h4>联系信息</h4>
		<table>
			<tr>
				<td>联系人：</td>
				<td><input name="username" id="username" type="text" ></td>
				<td>电话：</td>
				<td><input name="phone" id="phone" type="text" ></td>
			</tr>
			<tr>
				<td>邮箱：</td>
				<td><input name="mail" id="mail" type="text" ></td>
				<td>QQ：</td>
				<td><input name="qq" id="qq" type="text" ></td>
			</tr>
			<tr>
				<td>地址：</td>
				<td><input name="address" id="address" type="text" ></td>
				
			</tr>
		</table>
	</form>
	<div style="margin:10px 0;">
		<input type="button" class="btn btn-primary" value="保存" id="save2" />
	</div>
	<br>
	<h4>关于我们</h4>
	<div>
		<textarea name="aboutus" class="form-control required" id="aboutus" ></textarea>
		<span class="btn btn-success fileinput-button" 	style="display: none;"> 
			<i class="glyphicon glyphicon-plus"></i> 
			<span>添加图片</span> <!-- 单选 -->
		<input id="fileupload" type="file" name="files[]">
		</span>
	</div>
	<div style="margin:10px 0;">
		<input type="button" class="btn btn-primary" value="保存" id="save1" />
	</div>
</div>



<c:if test="${env == 'production' }">
	<script type="text/javascript">
		seajs.use("${ctx}/assets/js-dist/admin/aboutus-page");
	</script>
</c:if>
<c:if test="${env != 'production' }">
	<script type="text/javascript">
		seajs.use("${ctx}/assets/js/admin/aboutus-page");
	</script>
</c:if>